projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7aa338
)
xend: Fix xc.physinfo() Py_BuildValue format string.
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 8 Jan 2010 11:33:37 +0000
(11:33 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 8 Jan 2010 11:33:37 +0000
(11:33 +0000)
Fix for 20762:
a1d0a575b4ba
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
tools/python/xen/lowlevel/xc/xc.c
patch
|
blob
|
history
diff --git
a/tools/python/xen/lowlevel/xc/xc.c
b/tools/python/xen/lowlevel/xc/xc.c
index e7f06d6a9ee2be21db04de6f059fa77943666f63..9ac35c452a2896e0d7635fdc7d0e9f74fe0e1649 100644
(file)
--- a/
tools/python/xen/lowlevel/xc/xc.c
+++ b/
tools/python/xen/lowlevel/xc/xc.c
@@
-1149,7
+1149,7
@@
static PyObject *pyxc_physinfo(XcObject *self)
nr_nodes++;
}
- ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:l,s:l,s:l,s:i,s:s:s:s}",
+ ret_obj = Py_BuildValue("{s:i,s:i,s:i,s:i,s:i,s:
i,s:
l,s:l,s:l,s:i,s:s:s:s}",
"nr_nodes", nr_nodes,
"max_node_id", info.max_node_id,
"max_cpu_id", info.max_cpu_id,